
<div *ngIf="cyclePlan">
    <h2><span>Cycle Plan</span> {{cyclePlan.id}}</h2>
    <hr>
    <jhi-alert-error></jhi-alert-error>
    <dl class="row-md jh-entity-details">
        <dt><span>Kind Id</span></dt>
        <dd>
            <span>{{cyclePlan.kindId}}</span>
        </dd>
        <dt><span>Sub Type</span></dt>
        <dd>
            <span>{{cyclePlan.subType}}</span>
        </dd>
        <dt><span>All Time</span></dt>
        <dd>
            <span>{{cyclePlan.allTime}}</span>
        </dd>
        <dt><span>Start Time</span></dt>
        <dd>
            <span>{{cyclePlan.startTime}}</span>
        </dd>
        <dt><span>End Time</span></dt>
        <dd>
            <span>{{cyclePlan.endTime}}</span>
        </dd>
        <dt><span>Name</span></dt>
        <dd>
            <span>{{cyclePlan.name}}</span>
        </dd>
        <dt><span>Data</span></dt>
        <dd>
            <span>{{cyclePlan.data}}</span>
        </dd>
        <dt><span>Content</span></dt>
        <dd>
            <span>{{cyclePlan.content}}</span>
        </dd>
        <dt><span>Win Times</span></dt>
        <dd>
            <span>{{cyclePlan.winTimes}}</span>
        </dd>
        <dt><span>Always Fail</span></dt>
        <dd>
            <span>{{cyclePlan.alwaysFail}}</span>
        </dd>
        <dt><span>Always Win</span></dt>
        <dd>
            <span>{{cyclePlan.alwaysWin}}</span>
        </dd>
        <dt><span>Is Win</span></dt>
        <dd>
            <span>{{cyclePlan.isWin}}</span>
        </dd>
        <dt><span>Date</span></dt>
        <dd>
            <span>{{cyclePlan.date}}</span>
        </dd>
    </dl>

    <button type="submit"
            (click)="previousState()"
            class="btn btn-info">
        <span class="fa fa-arrow-left"></span>&nbsp;<span> Back</span>
    </button>

    <button type="button"
            [routerLink]="['/', { outlets: { popup: 'cycle-plan/'+ cyclePlan.id + '/edit'} }]"
            replaceUrl="true"
            class="btn btn-primary">
        <span class="fa fa-pencil"></span>&nbsp;<span> Edit</span>
    </button>
</div>
